<template>
  <div class="user_wrap">
    <h3>个人资料</h3>
    <div class="user_info">
      <div class="user_avatar">
        <img
          src="https://portrait.gitee.com/uploads/avatars/user/2184/6553316_lu-sir_1593787900.jpeg!avatar100"
          alt=""
        />
        <div class="updata_avatar"><a-icon type="plus-circle" />更换头像</div>
      </div>
      <div class="user_detail">
        <div class="detail_header">
          <div><a-icon type="usergroup-delete" />基本信息</div>
          <div><a-icon type="edit" />编辑</div>
        </div>
        <div class="detail_body">
          <div class="detail_item">
            <span class="item_title">姓名</span>
            <span class="item_content">LuLu</span>
          </div>
          <div class="detail_item">
            <span class="item_title">联系电话</span>
            <span class="item_content">17607854415</span>
          </div>
          <div class="detail_item">
            <span class="item_title">实习时间</span>
            <span class="item_content">17607854415</span>
          </div>
          <div class="detail_item">
            <span class="item_title">实习时间实习时间</span>
            <span class="item_content"
              >2020-20-202020-20-202020-20-202020-20-20</span
            >
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.user_wrap {
  h3 {
    height: 60px;
    font-size: 30px;
    color: #438eb9;
    display: flex;
    align-items: center;
    padding-left: 25px;
    border-bottom: 2px solid #f3f3f3;
  }
  .user_info {
    padding: 2% 5%;
    display: flex;
    .user_avatar {
      flex: 2;
      text-align: center;
      img {
        height: 200px;
        width: 200px;
      }
      .updata_avatar {
        font-size: 16px;
        padding: 2%;
        margin-top: 2%;
        color: white;
        font-weight: 600;
        background-color: #7b9e31;
        &:hover {
          cursor: pointer;
        }
      }
    }
    .user_detail {
      flex: 8;
      padding: 0% 8%;
      .detail_header {
        padding-left: 2%;
        border-bottom: 1px solid #ccc;
        display: flex;
        justify-content: space-between;
        div {
          &:nth-child(1) {
            font-size: 16px;
            color: #478fca;
          }
          &:nth-child(2) {
            font-size: 15px;
            border-bottom: 2px solid #478fca;
            &:hover {
              cursor: pointer;
              color: #478fca;
            }
          }
          .anticon {
            padding: 0 8px;
          }
        }
      }
      .detail_body {
        .detail_item {
          width: 80%;
          margin: 1% auto;
          display: flex;
          .item_title {
            width: 20%;
            margin-right: 3%;
            font-size: 15px;
            color: #999;
            text-align: right;
          }
        }
      }
    }
  }
}
</style>